import random
# import urllib
# import easygui

class Ball:
	def __init__(self):
		self.color='blue'
		self.dir='u'
	def say(self):
		self.dir ='up'

my_ball = Ball()

secrect = random.randint(1, 10)
guess = 0
tries = 0
print " I have a secret, guess it "
while guess != secrect and tries < 6 :
	guess = input("what's yer guess ?")
	if guess < secrect:
		print "too low, "
	elif guess > secrect:
		print "too high! "
	tries = tries +1

if guess == secrect:
	print "done!"
else :
	print "no more !"
	print "secrect is " , secrect


print "hello " * secrect

a=38.8
print a, int(a), str(a) + '1'

print "nnn"

temp = raw_input('next str: ')
print 'hi, ', temp, ',good bye'

# file_a = urllib.urlopen('http://g.cn')
# msg = file_a.read();
# print msg

# easygui.msgbox('f')

print my_ball.dir, my_ball.color
my_ball.say();
my_ball.dir = 'down'
my_ball.color = 'red'

print my_ball.dir, my_ball.color
